
public class Client{
    public static void main(String[] args){
        IFormat format;
        OS os;

        format=(IFormat)XMLUtilOS.getBean("format");
        os=(OS)XMLUtilOS.getBean("os");

        os.setFormat(format);
        os.play();
    }
}